#ifndef STATUSBAR_H_
#define STATUSBAR_H_

#include "common.h"

class Statusbar
{
private:
	WINDOW *statusbar;
	WINDOW *parentWindow;
	int mode;
public:
	Statusbar(WINDOW *win);
	~Statusbar();	
	void update(int line, int column);
	void show(bool ifshow);
	void changeMode(int mode);
	void getFocus(bool focus);
	WINDOW *getBar();
};

#endif//STATUSBAR_H_


